package com.ruoyi.driver.service;

import java.util.List;
import com.ruoyi.driver.domain.TbDriverCredentials;

/**
 * 司机证件Service接口
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public interface ITbDriverCredentialsService 
{
    /**
     * 查询司机证件
     * 
     * @param credentialsId 司机证件主键
     * @return 司机证件
     */
    public TbDriverCredentials selectTbDriverCredentialsByCredentialsId(Integer credentialsId);

    /**
     * 查询司机证件列表
     * 
     * @param tbDriverCredentials 司机证件
     * @return 司机证件集合
     */
    public List<TbDriverCredentials> selectTbDriverCredentialsList(TbDriverCredentials tbDriverCredentials);

    /**
     * 新增司机证件
     * 
     * @param tbDriverCredentials 司机证件
     * @return 结果
     */
    public int insertTbDriverCredentials(TbDriverCredentials tbDriverCredentials);

    /**
     * 修改司机证件
     * 
     * @param tbDriverCredentials 司机证件
     * @return 结果
     */
    public int updateTbDriverCredentials(TbDriverCredentials tbDriverCredentials);

    /**
     * 批量删除司机证件
     * 
     * @param credentialsIds 需要删除的司机证件主键集合
     * @return 结果
     */
    public int deleteTbDriverCredentialsByCredentialsIds(Integer[] credentialsIds);

    /**
     * 删除司机证件信息
     * 
     * @param credentialsId 司机证件主键
     * @return 结果
     */
    public int deleteTbDriverCredentialsByCredentialsId(Integer credentialsId);
}
